package ebcs.database.service;

import java.util.List;

import org.springframework.stereotype.Service;

import ebcs.database.bean.BsCapacityAll;
import ebcs.database.bean.BsCapacityDstbt;
import ebcs.database.bean.BsNeedInfor;

public interface BsCapacityDstbtServiceImp
{ 
	//查询汇总的产能信息
	public List<BsCapacityAll> selectCapacityAll(String needId);
	//查询明细的产能信息
	public List<BsCapacityDstbt> selectCapacityDstbt(String needId);
	//查询明细的产能信息
	public BsCapacityDstbt selectCapacityById(BsCapacityDstbt bean);
	//查询明细的产能信息
	public List<BsCapacityDstbt> selectCapacityPerson(BsCapacityDstbt bean);
	//添加产能信息
	public int insertCapInfor(BsCapacityDstbt bean);
	//修改产能信息
	public int updateCapInfor(BsCapacityDstbt bean);
	//删除产能信息
	public int deleteCapInfor(BsCapacityDstbt bean); 
	
	//查询用户在制定月份是否已经冻结
	public int selectUserFreeze(String userNo,String month);
	
}
